home *** CD-ROM | disk | FTP | other *** search
- Path: news-feed.mci.newscorp.com!usenet
- From: pbe@pobox.com
- Newsgroups: comp.lang.c++,comp.lang.pascal.delphi.misc
- Subject: Re: C++ with Zapp vs. Delphi
- Date: 18 Jan 1996 00:12:01 GMT
- Organization: Phoenix Business Enterprises
- Message-ID: <4dk38h$gdr@merlin.delphi.com>
- References: <4coar6$d4n@sun4.bham.ac.uk> <4coip7$69s@news1.usa.pipeline.com> <DBk8wg2yqjbB083yn@iaccess.za> <4d7pmb$48c8@tigger.cc.uic.edu>
- NNTP-Posting-Host: slip110-188.bb.delphi.com
- X-To: olczyk@sunphy1.phy.uic.edu
- X-Mailer: SQUID
- X-Registration: $737961
-
- >Maybe C vs. Pascal , but C++ is OO and Object Pascal is a fraud perpetuated b
- >Borland on the world.
-
- Oh, but you'll accept MS's claim that VB4 is OO? (One of their TechEd'
- s in an article even said it was not OO)
-
- >Object Pascal is a statically typed language which does not support
- >multiple inheritance and generics.
-
- MI is not a requirement for OO, and many don't think it should exist at
- all. "Goto of the 90's".
-
- Is my car not a car because I don't have a two side mirrors? (Mine does
- though)
-
- >The lack of multiple inheritence means that some objects cannot
- >send messages to other objects despite the fact that the message is in
- >the public part of the interface. There are two methods to get around
- >this: typecasting which is a maintanance nightmare, and faking inheritence
- >which is still a maintainance nightmare. In the VCL Borland often chose to
- >fake inheritance.
-
- Unless you are doing something out of the ordinary, you type cast to the
- lowest common denomiator and then send the message.
-
- It can however in certain situations be cumbersome. (Rarely though)
-
- >Lack of generics(templates) means you can't construct decent
- >container classes.
-
- Create your own, get free source, and use Polymorphism!
-
- PS, how about a valid FROM header.
- _
- This isn't the moon? This is PA? What are all those holes?
-
- +------------------------------------------------------------+
- |* Chad Z. Hower - phoenix@pobox.com |
- |* Consultant - Phoenix Business Enterprises |
- | pbe@pobox.com - http://pobox.com/~pbe |
- |* Principal Analyst Programmer - |
- | SCB Computer Technology Inc - czhower@eastman.com |
- |Physically in Church Hill, TN - Logically Not Sure |
- +------------------------------------------------------------+
- >>SQUID - The ultimate database reader, and NO limits. #$737961
- **Special Compile: 1.033B (Beta)
-
- +------------------------------------------------------------+
- |* Chad Z. Hower - phoenix@pobox.com |
- |* Consultant - Phoenix Business Enterprises |
- | pbe@pobox.com - http://pobox.com/~pbe |
- |* Principal Analyst Programmer - |
- | SCB Computer Technology Inc - czhower@eastman.com |
- |Physically in Church Hill, TN - Logically Not Sure |
- +------------------------------------------------------------+
- >>SQUID - The ultimate database reader, and NO limits. #$737961
- **Special Compile: 1.033B (Beta)
-